﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using IService.DataDLL;
using IService.Model;

namespace IService.Data.IManager
{
	public interface INewsDaManager
	{
		DataTable GetNewsListAll(Type infoType);
		DataTable GetNewsListPagin(Type infoType, PagingEntity pe);
		DataTable GetLatestNewsList(Type infoType, int newsnum);
		DataTable GetLatestNewsListByType(Type infoType, int newsnum, int type);
		News GetNewsById(News news);
		bool InsertNews(News news);
		bool UpdateNews(News news);
		bool DeleteNews(News news);
		bool DeleteNewsByIds(Type infoType, string Ids);
	}
}
